package com.nsu.cl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nsu.cl.pojo.LoginForm;
import com.nsu.cl.pojo.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 52618
* @description 针对表【teacher(老师表)】的数据库操作Service
* @createDate 2023-02-16 14:21:02
*/
public interface TeacherService extends IService<Teacher> {

    Teacher login(LoginForm loginForm);

    Teacher getTeacherById(Long userId);

    IPage<Teacher> getTeachersByOpr(Page<Teacher> pageParam, Teacher teacher);

    List<Teacher> getTeacherByGradeName(Teacher teacher);
}
